import request from './http'

// 轮播图
export const bannerData = params => {
  return request({
    method: 'POST',
    url: '/carousel/carousel/list',
    params
  })
}

//分类
export const getClassify = () => {

  return request({
    method: 'POST',
    url: '/shoplist/Shop/shoptype',
  })
}

//   官方推荐

export const goodsData = params => {
  return request({
    method: 'POST',
    url: '/shoplist/Shop/boutique',
    params
  })
}

// 限时精品

export const teaData = params => {
  return request({
    method: 'POST',
    url: '/shoplist/Shop/official',
    params
  })
}

// 精品单图
export const onlyData = params => {
  return request({
    method: 'POST',
    url: '/carousel/carousel/outique',
    params
  })
}

// 精品
export const getDetailData = params => {
  return request({
    method: 'POST',
    url: '/shoplist/Shop/officialshop',
    params
  })
}
export const getArticleData = params => {
  return request({
    method: 'POST',
    url: '/culture/culture/index',
    params
  })
}



// 猜你喜欢
export const getLikeData = params => {
  return request({
    method: 'POST',
    url: '/shoplist/Likeshop/likelist',
    params
  })
}


// 日历
export const riliData = params => {
  return request({
    method: 'POST',
    url: '/calendar/calendar/calendar',
    params
  })
}


// 栏目

export const classifyData = params => {
  return request({
    method: 'POST',
    url: '/currency/index/goodscolumn',
    params
  })
}

// 健康轮播

export const healthyData = params => {
  return request({
    method: 'POST',
    url: '/currency/index/banner',
    params
  })
}

// 明星产品

export const starData = params => {
  return request({
    method: 'POST',
    url: '/currency/index/star',
    params
  })
}
export const starsData = params => {
  return request({
    method: 'POST',
    url: '/currency/index/lower',
    params
  })
}




//茶圈咨询
export const consultData = params => {
  return request({
    method: 'POST',
    url: '/currency/index/news',
    params
  })
}

// 搜索
export const searchData = params => {
  return request({
    method: 'POST',
    url: '/currency/index/list',
    params
  })
}

export const contentData = params => {
  return request({
    method: 'POST',
    url: '/currency/index/calendar',
    params
  })
}
export const heeadDatas = params => {
  return request({
    method: 'POST',
    url: '/calendar/calendar/head',
    params
  })
}

export const contentsData = params => {
  return request({
    method: 'POST',
    url: '/currency/index/content',
    params
  })
}






// 商品列表

export const orderList = params => {
  return request({
    method: 'POST',
    url: '/currency/Index_server/classification',
    params
  })
}





// 订单接口
export const goodsListData = params => {
  return request({
    method: 'POST',
    url: '/channel/xinyon/order',
    params
  })
}


export const teamListData = params => {
  return request({
    method: 'POST',
    url: '/channel/xinyon/teamOrderNumber',
    params
  })
}

// 业绩看板获取用户信息
export const userData = params => {
  return request({
    method: 'POST',
    url: '/channel/xinyon/getUserInfo',
    params
  })
}
export const jyData = params => {
  return request({
    method: 'POST',
    url: '/channel/Xinyon/getTeamImport',
    params
  })
}




// 划拨接收人
export const jsData = params => {
  return request({
    method: 'POST',
    url: '/channel/M3/AppHuaboData',
    params
  })
}


// 划拨提交

export const suData = params => {
  return request({
    method: 'POST',
    url: '/channel/M3/AppHuabo',
    params
  })
}
export const tyData = params => {
  return request({
    method: 'POST',
    url: '/rice/rice/type',
    params
  })
}
export const tysData = params => {
  return request({
    method: 'POST',
    url: '/rice/rice/addRice',
    params
  })
}



// 米机


//轮播图
export const mjlb = params => {
  return request({
    method: 'POST',
    url: '/rice/rice/rotation',
    params
  })
}
// 米机公告
export const mjgg = params => {
  return request({
    method: 'POST',
    url: '/rice/rice/notice',
    params
  })
}
export const mjzsp = params => {
  return request({
    method: 'POST',
    url: '/rice/rice/mainvideo',
    params
  })
}
export const mjgoods = params => {
  return request({
    method: 'POST',
    url: '/rice/rice/goods',
    params
  })
}
export const mjwc = params => {
  return request({
    method: 'POST',
    url: '/rice/rice/articletype',
    params
  })
}
export const mjwz = params => {
  return request({
    method: 'POST',
    url: '/rice/rice/articletlists',
    params
  })
}
export const mjwzs = params => {
  return request({
    method: 'POST',
    url: '/rice/rice/articletdetails',
    params
  })
}
export const mjlg = params => {
  return request({
    method: 'POST',
    url: '/rice/rice/introducevideo',
    params
  })
}
export const newX = params => {
  return request({
    method: 'POST',
    url: '/culture/culture/list',
    params
  })
}
export const newD = params => {
  return request({
    method: 'POST',
    url: '/culture/culture/show',
    params
  })
}





